#ifndef __ENCODER_H__
#define __ENCODER_H__

#include "stm32f1xx_hal.h"
#include "main.h"

void encoder_init();
uint16_t encoder_get(TIM_HandleTypeDef* htim);


#endif /* __ENCODER_H__ */